QT += network \
      xml
HEADERS += mainwindow.h \
    myeeprom.h \
    modeledit.h \
    helpers.h \
    mixerdialog.h \
    burnconfigdialog.h \
    avroutputdialog.h \ 
    preferencesdialog.h \
    mixerslist.h \
    downloaddialog.h \
    stamp-pipofig.h \ 
    node.h \
    edge.h
SOURCES += main.cpp \
    mainwindow.cpp \
    modeledit.cpp \
    helpers.cpp \
    mixerdialog.cpp \
    burnconfigdialog.cpp \
    avroutputdialog.cpp \ 
    preferencesdialog.cpp \
    mixerslist.cpp \
    downloaddialog.cpp \ 
    node.cpp \
    edge.cpp
TEMPLATE = app
FORMS += modeledit.ui \
    mixerdialog.ui \
    burnconfigdialog.ui \
    avroutputdialog.ui \
    preferencesdialog.ui \
    downloaddialog.ui 
TRANSLATIONS = pipo_.ts    \
               pipo_he.ts  \
               pipo_pt.ts  \
               pipo_ru.ts  \
               pipo_de.ts  \
               pipo_es.ts  \
               pipo_fr.ts
RESOURCES += pipofig.qrc 
TARGET = pipofig

include(qextserialport/src/qextserialport.pri)

unix {
LANGS.path = /usr/bin/pipofiles
LANGS.files = lang/*.qm

ICON.path = /usr/bin/pipofiles
ICON.files += icon.svg

SHORTCUT.path = /usr/share/applications/
SHORTCUT.files += pipofig.desktop

BINFILE.files += pipofig
BINFILE.path = /usr/bin
BINFILE.commands = rm -rf /usr/bin/pipofig
#This removes old pipo file or directory

INSTALLS = BINFILE
INSTALLS += LANGS
INSTALLS += ICON
INSTALLS += SHORTCUT
}

win32 {
RC_FILE += icon.rc
}

mac {
ICON = pipofig.icns
}


